package com.zhuiyun.project.api.appusercancel.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;
/** userCancelModel
 * @author 温
 * @date 2023/7/4 14:43
 * @parameter
 * @return
 */
@ApiModel("用户注销模块")
@Data
public class userCancelModel {

    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("id")
    private Integer id;

    private Integer restoreId;


    @ApiModelProperty("用户名称")
    private String userName;



    @ApiModelProperty("用户头像")
    private String imageId;

    @ApiModelProperty("用户手机号")
    private String userPhone;


    @ApiModelProperty("出生日期")
    private Date userBirthday;

    @ApiModelProperty("用户性别")
    private String userSex;

    @ApiModelProperty("职业标识")
    private Integer userType;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("注销状态")
    private Integer  prohibition;

    @ApiModelProperty("禁言状态")
    private String logOff;

    @ApiModelProperty("微信")
    private String openId;

    @ApiModelProperty("删除标识")
    private Integer delFlag;


    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("注销时间")
    private Date cancellationTime;

    @ApiModelProperty("注销原因")
    private String cancellationReason;

    @ApiModelProperty("是否恢复状态")
    private Integer recoveryStatus;

    @ApiModelProperty("彻底删除状态")
    private Integer deletionStatus;

    @ApiModelProperty("注销表外键")
    private Integer cancellationId;

}
